package org.way.iam.configure;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class DataScopeProperties {

    @Value("${dataScope.enabled}")
    Boolean enabled;

    @Value("${dataScope.deptColumn}")
    String deptColumn;

    @Value("${dataScope.ownerColumn}")
    String ownerColumn;

}
